/*
 * @Author: June
 * @Date: 2022-11-17 16:30:29
 * @LastEditors: June
 * @LastEditTime: 2022-11-30 13:40:04
 * @Description: 采购管理路由
 *
 */

import Layout from '@/layout'

export const purchasingManagement =
{
  path: '/purchasing',
  component: Layout,
  redirect: '/purchasing/purchaseRequisitionList',
  alwaysShow: true,
  meta: {
    title: '采购管理', icon: 'icon-caigouguanli'
  },
  children: [
    {
      path: 'purchaseRequisitionList',
      name: 'PurchaseRequisitionList',
      component: () => import('@/views/purchasingManagement/purchaseRequisitionList'),
      meta: { title: '请购清单', icon: 'icon-office-supplies-shopping-list' }
    },
    {
      path: 'purchaseOrder',
      name: 'PurchaseOrder',
      component: () => import('@/views/purchasingManagement/purchaseOrder'),
      meta: { title: '采购订单', icon: 'icon-caigoudingdan' }
    },
    {
      path: 'receiptManagement',
      name: 'ReceiptManagement',
      component: () => import('@/views/purchasingManagement/receiptManagement'),
      meta: { title: '收货管理', icon: 'icon-shouhuoguanli' }
    },
    {
      path: 'purchaseInvoice',
      name: 'PurchaseInvoice',
      component: () => import('@/views/purchasingManagement/purchaseInvoice'),
      meta: { title: '采购发票', icon: 'icon-fapiao' }
    },
    {
      path: 'paymentInfo',
      name: 'PaymentInfo',
      component: () => import('@/views/purchasingManagement/paymentInfo'),
      meta: { title: '付款信息', icon: 'icon-yifukuan' }
    },
    {
      path: 'purchaseStatistics',
      name: 'PurchaseStatistics',
      component: () => import('@/views/purchasingManagement/purchaseStatistics'),
      meta: { title: '采购统计', icon: 'icon-cuoqingdengji' }
    }
  ]
}
